package com.rogue.blog.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by 86101 on 2018-09-26.
 */
@ApiModel(description = "统一响应模型")
@Getter
@Setter
public class ResponseVO<T> {
    @ApiModelProperty(value = "状态码")
    private int code;
    @ApiModelProperty(value = "状态描述")
    private String status;
    @ApiModelProperty(value = "详细信息", allowEmptyValue = true)
    private String message;
    @ApiModelProperty(value = "响应数据", allowEmptyValue = true)
    private T data;
}
